[XEN] Fix compatibility with future guests which may try to
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 13 Jun 2006 10:28:20 +0000 (11:28 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 13 Jun 2006 10:28:20 +0000 (11:28 +0100)
commit4f6936097606858467b100e3230d76c17a138dff
treebfa8a69be855fdcf4410d1bf68509a9d3295315f
parentc9c67d5a0288890dba450537eeeae420d9096062
[XEN] Fix compatibility with future guests which may try to
use hypercalls >= NR_hypercalls. These must fail with ENOSYS,
but the current strategy of masking off the high-order bits of
the hypercall number means we instead map those hypercalls onto
lower-numbered hypercalls with unpredictable results. This patch
replaces masking with an explicit compare-and-jump.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/entry.S
xen/include/asm-ia64/config.h
xen/include/asm-x86/config.h
xen/include/asm-x86/multicall.h